home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # bls - bug show script
- # copyright (c) 2001, joseph cheek, joseph@redmondlinux.org
- # released under gpl.
- #
- # ex: bls
-
- if [ "n$1" = "n-q" ]; then # -q
- QUIET="-q"
- shift
- fi
-
-
- #
- #
- # constants and vars
-
- RL_ROOT=/opt/redmondlinux
- BUILD_NUM_FILE=$RL_ROOT/builds/CURRENT_BUILD
- BUILD_NUM=`cat $BUILD_NUM_FILE`
-
- BUILD_ROOT=$RL_ROOT/builds/$BUILD_NUM
- BUG_LIST=$BUILD_ROOT/BUGS
-
-
- # show changelog
-
- cat $BUG_LIST
-
- if [ "$?" -gt 0 ]; then # show bug list failed
- ( echo `basename $0`: show bug list failed
- echo check permissions on $BUG_LIST ) >&2
- exit 1
- fi
-
- exit 0
-